#include "controls/progressbar/cxiprogressbar.h"
#include <private/progressbar/cxiprogressbar_p.h>
CxiProgressBar::CxiProgressBar(QWidget* parent)
	: QProgressBar(parent),
	  d_ptr(new CxiProgressBarPrivate(this))
{
	Q_D(CxiProgressBar);
	d->init();
}
CxiProgressBar::~CxiProgressBar() = default;
bool CxiProgressBar::IsMarqueeMode() const
{
	Q_D(const CxiProgressBar);
	return d->m_isMarqueeMode;
}
void CxiProgressBar::SetMarqueeMode(bool isMarqueeMode)
{
	Q_D(CxiProgressBar);
	d->SetMarqueeMode(isMarqueeMode);
}